package main

import "fmt"

//------------------------------------
type Teacher struct {
	addr  string
	group string
}

//Teacher实现了此方法
func (t *Teacher) sayhi() {
	fmt.Printf("Teacher[%s, %s] sayhi\n", t.addr, t.group)
}
